package com.binguo.api.service;

import com.binguo.model.mapper.ProductYpTypeMapper;
import com.binguo.model.model.ProductYpType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TencentApiService {

    @Resource
    private ProductYpTypeMapper productYpTypeMapper;



    public ProductYpType selectById(Integer id){
        return productYpTypeMapper.selectByPrimaryKey(id);
    }

    public Integer updateProductYpType (ProductYpType productYpType){
        return productYpTypeMapper.updateByPrimaryKeySelective(productYpType);
    }
}
